package com.groupbuying.ordosmarathon.marathonOrder;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;
import	java.util.Map;

/**
 * @Author Vincentxin
 * @Date 2019-08-05
 */
@Mapper
@Repository
public interface MarathonOrderDao {
    //查询订单列表
    List<Map> orderList(Map<String,Object> param);
    //订单总数
    int  count(Map<String,Object> param);
    //查询游戏币及门票数量
    List<Map<String,Object>> getTicket(Map<String,Object> param);

    //给后台管理中心提供马拉松订单查询接口
    List<Map<String,Object>> totalCountAndTotalPrice(Map<String,Object> param);
}
